// ---------------------------------------------------------------------------

#ifndef WebSupportThreadH
#define WebSupportThreadH
// ---------------------------------------------------------------------------
#include <Classes.hpp>
#include "WebSupportForm.h"
#include "ServiceResult.h"
#include "ServiceParameter.h"
#include "UserInfo.h"
#include "LoadingForm.h"

// ---------------------------------------------------------------------------
class TWebSupportThread : public TThread {
private:
	Pointer WindowList;

	void __fastcall CallBack();

protected:
	void __fastcall Execute();

public:
	__fastcall TWebSupportThread(bool CreateSuspended);

	void __fastcall Load();

	void __fastcall UnLoad();

	TUWebSupportForm *Form;

	TServiceParameter ServiceParameter;

	String Data;

	bool Succeed;

	TULoadingForm *ULoadingForm;

	String Tag;

	bool Loading;
};
// ---------------------------------------------------------------------------
#endif
